package com.hjy.cabinet.db.domain;


import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author hsmoptics
 * @since 2025-01-16
 */
public class DbAlarmLog  {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String alarmLevel;

    private String alarmReason;

    private String statTime;

    private String endTime;

    private String alarmType;

    private String confirmStatus;

    private String eraseStatus;

    //告警同步的编号
    private String number;
    private Boolean sync =false;


    public Boolean getSync() {
        return sync;
    }

    public void setSync(Boolean sync) {
        this.sync = sync;
    }


    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAlarmLevel() {
        return alarmLevel;
    }

    public void setAlarmLevel(String alarmLevel) {
        this.alarmLevel = alarmLevel;
    }

    public String getAlarmReason() {
        return alarmReason;
    }

    public void setAlarmReason(String alarmReason) {
        this.alarmReason = alarmReason;
    }

    public String getStatTime() {
        return statTime;
    }

    public void setStatTime(String statTime) {
        this.statTime = statTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public String getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(String alarmType) {
        this.alarmType = alarmType;
    }

    public String getConfirmStatus() {
        return confirmStatus;
    }

    public void setConfirmStatus(String confirmStatus) {
        this.confirmStatus = confirmStatus;
    }

    public String getEraseStatus() {
        return eraseStatus;
    }

    public void setEraseStatus(String eraseStatus) {
        this.eraseStatus = eraseStatus;
    }


    @Override
    public String toString() {
        return "DbAlarmLog{" +
                "id=" + id +
                ", alarmLevel='" + alarmLevel + '\'' +
                ", alarmReason='" + alarmReason + '\'' +
                ", statTime=" + statTime +
                ", endTime=" + endTime +
                ", alarmType='" + alarmType + '\'' +
                ", confirmStatus='" + confirmStatus + '\'' +
                ", eraseStatus='" + eraseStatus + '\'' +
                ", number='" + number + '\'' +
                ", sync=" + sync +
                '}';
    }
}
